#ifndef CONFIG_H
#define CONFIG_H

#include <QWidget>
#include <QTcpSocket>
namespace Ui {
class Config;
}

class Config : public QWidget
{
    Q_OBJECT

public:
    explicit Config(QTcpSocket *s, QString name, QWidget *parent = nullptr);
    ~Config();

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();
signals:
    void updateImg(QByteArray imgData);

private:
    Ui::Config *ui;
    QTcpSocket *_socket;
    QString _username;
};

#endif // CONFIG_H
